<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>AC算法社</title>
	<link rel="stylesheet" type="text/css" href="./sourse/css/defalt.css">
	<link rel="stylesheet" type="text/css" href="./sourse/css/index_css.css">
	<link rel="stylesheet" type="text/css" href="./sourse/css/Login.css">
	<link rel="stylesheet" type="text/css" href="./sourse/css/board.css">
</head>
<body>

	<div id="imageModal" class="modal">  
        <img id="modalImage" src="" alt="展示的图片">  
    </div>

	<div id="loginContainer">  
	    <h2>登录</h2>  
	    <form id="loginForm">  
	        <label for="username">用户名:</label>  
	        <input type="text" id="username" name="username" >  
	  
	        <label for="password">密码:</label>  
	        <input type="password" id="password" name="password" required>  
	  
	        <button type="submit">登录</button>  
	        <button type="button" id="register" onclick="loadingregister()">注册</button>  
	    </form>  
	</div>

	<div id="registerContainer" class="hidden">  
	    <h2>注册</h2>  
	    <form id="registerForm">  
	        <label for="username">用户名:</label>  
	        <input type="text" id="username" name="username" required>  
	  
	        <label for="password">密码:</label>  
	        <input type="password" id="password" name="password" required>
	        <label for="password">确认密码:</label>  
	        <input type="password" id="Confirmpassword" name="password" required>  

	        <button type="submit" id="register">注册</button>  
	    </form>  
	</div>

	<div id="mainPage" class="hidden">
		<div class="nav">
			<div class="form-list">
				<a href="#" class="logo">AC算法社</a>
				<input type="date" id="myDate" onchange="refresh()">
				<div class="loadForm">
					<span>提交入口-></span>
					<input type="file" id="imageUpload" accept="image/*">
	  				<input id="nameInput">
					<button onclick="submitFile()">提交</button>
				</div>
			</div>
		</div>
		<div id="main"></div>
		<div id="Messageboard">
			<div id="person_message"></div>
			<input type="text" id="message_submit" placeholder="按下Enter键..."/>
		</div>
	</div>
	
	<script src="./sourse/js/DataRefresh.js"></script>
	<script src="./sourse/js/Login.js"></script>
	<script src="./sourse/js/upLoading.js"></script>
	<script src="./sourse/js/merge.js"></script>
	<script type="text/javascript" src="./sourse/js/board.js"></script>

</body>
</html>